package com.gds.wiki.cloud.framework.database.common.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;
import org.springframework.boot.autoconfigure.security.SecurityProperties;

import java.util.List;
import java.util.Map;

public interface SqlMapper extends BaseMapper {

    public Class clazz = null;


    @Select({"${sql}"})
    <T> List<T> selectByText(@Param("sql") String sql, @Param(Constants.WRAPPER) Wrapper wrapper);

}
